package com.jeecms.wicool.dao.activities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.activities.Activities;

public interface ActivitiesDao {
	public Pagination getPage(String title,Date publishTime, int pageNo, int pageSize);
	public Activities findById(Integer id);
	public Activities updateByUpdater(Updater<Activities> updater);
	public Activities update(Activities  entity);	
	public Activities save(Activities bean);
	public Activities deleteById(Integer id);
	public ArrayList<Activities>  deleteByIds(Integer[] ids);
	public List<Activities> getAll(Activities activities);
}
